# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=xkill
pkgver=1.0.5
pkgrel=0
pkgdesc="Kill tool for the X Window System"
url="http://www.x.org"
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends="libx11-dev libxmu-dev"
install=""
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/${pkgname}-${pkgver}.tar.bz2"
builddir="${srcdir}/${pkgname}-${pkgver}"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--datarootdir=/usr/share
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="4603a1794f114f5cea2c885020c9d073c8421d1e785c99ff6b936ae97139c8dac8020a187b5bbd0fa6d56ed6fab879441b42ba900cc5f2f5a534dafdc86b9249  xkill-1.0.5.tar.bz2"
